<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>超市商品展示</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            max-width: 800px;
            margin: 20px auto;
            padding: 20px;
        }
        table {
            width: 100%;
            border-collapse: collapse;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }
        th, td {
            padding: 12px;
            text-align: left;
            border-bottom: 1px solid #e0e0e0;
        }
        th {
            background-color: #f5f5f5;
            font-weight: 600;
        }
        tr:hover {
            background-color: #f9f9f9;
        }
        .no-data {
            text-align: center;
            padding: 20px;
        }
    </style>
</head>
<body>
    <h1>双叶超市商品列表</h1>
    <table id="productTable">
        <thead>
            <tr>
                <th>商品 ID</th>
                <th>商品名称</th>
                <th>单价（元）</th>
                <th>库存</th>
            </tr>
        </thead>
        <tbody>
            <!-- 商品数据将在此动态填充 -->
        </tbody>
    </table>

    <script src="script.js"></script>
</body>
</html>